import request from '../utils/request';
import { solo } from '../common/solo';

export async function query() {
  return request('/api/users');
}

export async function queryCurrent() {
  return request('/api/currentUser');
}

export async function queryCurrentMenu() {
  return request(`${solo.baseUrl}menus/queryMenus`);
}